# 1.导入KNN分类模型

from sklearn.neighbors import KNeighborsClassifier

# 2.准备数据集(三缺一)
x_train = [[0],[1],[2],[3]]
y_train = [0,0,0,1]
x_test = [[4]]
#3.创建Knn分类模型
# model =
# 4. 模型训练

# 5. 模型预测
# model.predict()
#
# print(f"分类预测结果为:{y_test}")